package SQLite3;

import java.io.IOException;
import java.io.InputStream;
import java.io.OutputStream;

public class Blob
{
  private long handle = 0L;
  protected int size = 0;
  
  static {}
  
  private static native void internal_init();
  
  public native void close();
  
  protected native void finalize();
  
  public InputStream getInputStream()
  {
    return new BlobR(this);
  }
  
  public OutputStream getOutputStream()
  {
    return new BlobW(this);
  }
  
  native int read(byte[] paramArrayOfByte, int paramInt1, int paramInt2, int paramInt3)
    throws IOException;
  
  native int write(byte[] paramArrayOfByte, int paramInt1, int paramInt2, int paramInt3)
    throws IOException;
}
